package work5;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("orderServiceImpl")
public class OrderServiceImpl implements OrderService{

	@Autowired
	OrderMapper orderMapper;
	
	@Override
	public Order getUserByOrderNumber(String number) {
		return orderMapper.getUserByOrderNumber(number);
	}

}
